package com.shuwen.gcdj.common.util.tool;

import org.apache.commons.codec.digest.DigestUtils;

public class SecretTool {
    private SecretTool() {
    }

    public static String generateSignature(String appKey, String secret, String nonce, String timestamp) {
        return DigestUtils.sha256Hex(appKey + secret + nonce + timestamp);
    }
}
